package com.ticket.sass.admin.dto.output.pricecheme;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * @author ywb
 * @date 2024-03-13 10:08
 */
@Data
@ApiModel
public class PriceSchemeInfoOutput {
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    @ApiModelProperty(value = "方案名称")
    private String title;
    
    @ApiModelProperty(value = "有效日期开始")
    private LocalDate startDate;
    
    @ApiModelProperty(value = "有效日期结束")
    private LocalDate endDate;
    
    @ApiModelProperty(value = "星期 0 ～ 6")
    private Integer week;
    
    @ApiModelProperty(value = "时段范围开始，如：15:00")
    private String startTime;
    
    @ApiModelProperty(value = "时段范围结束，如：19:00")
    private String endTime;
    
    @ApiModelProperty(value = "适用发行价")
    private BigDecimal issuePrice;
    
    @ApiModelProperty(value = "适用影厅编码")
    private String hallCode;
    
    @ApiModelProperty(value = "适用影片编码")
    private String filmCode;
    
    
    @ApiModelProperty(value = "会员级别 id")
    private Integer memberId;
    
    @ApiModelProperty(value = "会员价")
    private BigDecimal memberPrice;
    
    @ApiModelProperty(value = "非会员价")
    private BigDecimal salePrice;
    
    @ApiModelProperty(value = "时间段格式 为  xx:xx-xx:xx")
    private List<String> times;
    
    @ApiModelProperty(value = "周期格式：0,1,2,3,4,5,6（周日~周六）")
    private List<Integer> period;
}
